﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

    <div class="user-edit-container">
        <h3>Réttindi notenda</h3>
        <form id="Form1" runat="server">

            <div>
                <input name="UserName" type="text" value="" />
            </div>

            <div>
                <select name="Roles">
                    <option value="Administrators">Stjórnandi</option>
                    <option value="Professionals">Fagaðili</option>
                </select>

                <input name="RemoveRole" type="checkbox" value="true"/> Fjarlægja notanda úr hópi
            </div>

            <div>
                <input type="submit" value="Uppfæra" />
            </div>

        </form>
        <label><%= ViewData["Message"] %></label>
    </div>

    <% } %>